import api from 'api/api'
import axios from 'axios';

const domain ='http://t.wzjymapi.17byh.com';
export function getServer(page,type) {
	let url = 'https://www.easy-mock.com/mock/5b7fb22edaa94d01a8d6b958';
	let data = {
		method: 'get',
		page: page,
		type: type
	}
	return axios(url, {params: data});
}
//游戏分类
export function getClassify() {
	let url = 'https://www.easy-mock.com/mock/5b7fb22edaa94d01a8d6b958/classify';
	return axios.get(url);
}